package com.wenwu.service;

import java.util.List;

import com.wenwu.common.bean.RelicsDictionary;
import com.wenwu.common.bean.RelicsDictionaryExample;
import com.wenwu.common.exception.RelicsException;
import com.wenwu.common.page.PaginationVO;

/**
 * @project RelicsProject-service
 * @class DictionaryService.java
 * @author zhujiagui E-mail:<zhujiagui@zkingsoft.com>
 * @date 2015年5月1日 下午4:45:34
 * @description 字典管理
 */
public interface DictionaryService {
	int selectTotalRecord(RelicsDictionary dictionary) throws RelicsException;

	List<RelicsDictionary> selectList(RelicsDictionary dictionary,
			PaginationVO pageVo) throws RelicsException;

	String addObj(RelicsDictionary dictionary) throws RelicsException;

	RelicsDictionary selectObjByKey(Integer dictionaryId)
			throws RelicsException;

	int deleteInfoByKey(List<?> keys) throws RelicsException;
	
	List<RelicsDictionary>  selectListByExample(RelicsDictionaryExample example) throws RelicsException;
}
